export default {
    namespaced: true, 
    state:{
        userInfo: {
            name: 'tom',
            skills: ['抖音', 'B站', '美团'],
            address: '武汉黑马',
            logo: 'https://vuejs.org/images/logo.svg'
            //  https://www.runoob.com/wp-content/uploads/2016/02/react.png
        },
    },
    mutations:{
        changeLogo: function (state, { newLogo, second, uname }) {
            state.userInfo.logo = newLogo
            console.log(second);
            state.userInfo.name = uname
            console.log(state.userInfo.name);
        },
    },
    actions:{}

}